package com.atom.module.mvi.android

import androidx.lifecycle.LifecycleOwner
import com.atom.module.mvi.android.lifecycle.createDestroy

abstract class AndroidBinder<T : Any>(
    lifecycleOwner: LifecycleOwner
) {
    protected val binder = lifecycleOwner.lifecycle.createDestroy {}

    abstract fun setup(view: T)
}
